package cn.bluedot.framework.web;

import java.lang.reflect.Method;

/**
 * service对应方法信息类
 * @author Administrator
 *
 */
public class RequestHandler {
	
	private String uri;  //请求URI
	private Method method;  //方法
	private Class<?> service; //对应的类	
	private String success;//成功状态：URI
	private String failed;//成功状态：URI
	
	
	public RequestHandler(String uri, Method method, Class<?> cls, String success, String failed){
		this.uri = uri;
		this.method = method;
		this.service = cls;
		this.success = success;
		this.failed = failed;
	}

	public String getUri() {
		return uri;
	}


	public void setUri(String uri) {
		this.uri = uri;
	}


	public Method getMethod() {
		return method;
	}


	public void setMethod(Method method) {
		this.method = method;
	}


	public Class<?> getService() {
		return service;
	}


	public void setService(Class<?> service) {
		this.service = service;
	}

	public String getSuccess() {
		return success;
	}

	public void setSuccess(String success) {
		this.success = success;
	}

	public String getFailed() {
		return failed;
	}

	public void setFailed(String failed) {
		this.failed = failed;
	}
	
}
